package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 教师晋升关数设置详情
 * </p>
 *
 * @author hpiggy
 * @since 2025-10-18
 */
@TableName("train_promote_shutnum_detail")
@ApiModel(value = "TrainPromoteShutnumDetail对象", description = "教师晋升关数设置详情")
@Data
public class TrainPromoteShutnumDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("train_promote_shutnum表id")
    private Long shutnumId;

    @ApiModelProperty("课程类型")
    private Integer lessonType;

    @ApiModelProperty("班型id")
    private Long classTypeId;

    @ApiModelProperty("1练课,2备课")
    private Integer itemsId;

    @ApiModelProperty("版本id")
    private Long versionId;

    @ApiModelProperty("通过等级")
    private Integer passLevel;

    @ApiModelProperty("期数")
    private Integer num;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;



    @TableField(exist = false)
    @ApiModelProperty("课程类型名称")
    private String lessonTypeName;

    @TableField(exist = false)
    @ApiModelProperty("班型名称")
    private String classTypeName;

    @TableField(exist = false)
    @ApiModelProperty("项目类型")
    private String itemsName;

    @TableField(exist = false)
    @ApiModelProperty("等级")
    private String passLevelName;

    @TableField(exist = false)
    @ApiModelProperty("版本")
    private String versionName;

}
